package com.aiti.lulian.entity;

import com.aiti.lulian.workflow.ProcessStatus;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("show_record_audit")
public class ShowRecordAudit {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.NONE)
    private String id;

    /**
     * 流程实例ID
     */
    @TableField("process_instance_id")
    private String processInstanceId;



    /**
     * 业务类型：0-模板
     */
    @TableField("business_type")
    private String businessType;

    /**
     * 业务记录ID
     */
    @TableField("business_record_id")
    private String businessRecordId;



    /**
     * 创建时间
     */
    @TableField(value = "base_create_time", fill = FieldFill.INSERT)
    private Date baseCreateTime;

    /**
     * 更新时间
     */
    @TableField(value = "base_update_time", fill = FieldFill.INSERT_UPDATE)
    private Date baseUpdateTime;

    /**
     * 创建人用户ID
     */
    @TableField("creator")
    private String creator;

    /**
     * 创建人角色ID
     */
    @TableField("role_id")
    private String roleId;

    /**
     * 创建人所属部门ID
     */
    @TableField("dept_id")
    private String deptId;

    private String creatorName;
}
